package org.administer.pojo;

import java.io.Serializable;
import java.util.Objects;

public class CrmStore implements Serializable {
    private Integer id;
    private String storename;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStorename() {
        return storename;
    }

    public void setStorename(String storename) {
        this.storename = storename;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        CrmStore that = (CrmStore) o;
        return Objects.equals(id, that.id) &&
                Objects.equals(storename, that.storename);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id, storename);
    }
}
